package com.starlz.jpa.service;

import com.starlz.jpa.dao.UserDao;
import com.starlz.jpa.entity.LocalUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;

/**
 * @Description:
 * @Author: wangzi
 * @Date: 2018/11/20 09:54
 */
public interface UserService {

   Page<LocalUser> findAll();

   LocalUser sava(LocalUser user);

}
